XXXH


  • Home

  • Categories

  • Archives

  • Tags

Posted on 2015-11-26   |   In python

pdb and logging modules for python

1
2
3
import pdb

pdb.set_trace()

execute the .py file

p <variable>
which is really helpful for debugging!

ā€˜l’ show the places
ā€˜c’ continue

BTW. for the log record

1
import logging

can refer to https://github.com/ZENGXH/kaggle/blob/master/my_io.py

#debug #python
SVM
EM in GMM and in general
  • Table Of Contents
  • Overview
XXXH

XXXH

27 posts
7 categories
37 tags
github

This post does not have a Table Of Contents

©   2015 XXXH
Powered by Hexo
Theme - NexT.Mist